
public class MashCounter {
	private static int count = 0;
//	public MashCounter(){
//		count = 0;
//	}
	
	public synchronized int getNextId(){
		return count++;
	}
	
	public int getCount(){
		return count;
	}
}
